package com.wzl.consumer.service.rabbitMqService.impl.basicsConsumer;

import com.wzl.consumer.mapper.rabbitMqMapper.basicsConsumer.MqBasicsConsumerMapper;
import com.wzl.consumer.service.rabbitMqService.basicsConsumer.MqBasicsConsumerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 基础用法消费者接口实现类
 *
 * @author weizhongli
 * @since 2022-09-04 17:54
 */
@Service
public class MqBasicsConsumerServiceImpl implements MqBasicsConsumerService {

    @Autowired
    private MqBasicsConsumerMapper mqBasicsConsumerMapper;

    @Override
    public void updateUserById(Integer id, String userName) {
        mqBasicsConsumerMapper.updateUserById(id, userName);
    }
}